import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

// 引入pinia
import { createPinia } from 'pinia'
// 引入pinia-plugin-persistedstate
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// 引入common.scss
import '@/styles/common.scss'
// import 'element-plus/dist/index.css'
import '@/styles/element/index.scss'


const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)

app.use(router)
app.use(pinia)

app.mount('#app')
